package it.antonio.ilpizze.db;

import it.antonio.ilpizze.db.statistics.MeasureMetric;
import it.antonio.ilpizze.db.statistics.Statistics;
import it.antonio.ilpizze.db.statistics.StatisticsResult;

public interface Monitor {
	void reset();
	void record(Statistics type);
	void record(Statistics... types);
	
	StatisticsResult stats(Statistics type);
	<T> T measure(MeasureMetric<T> metric);
	
}
